package com.hp.service;

import com.hp.entity.Patient;

import java.util.List;

public interface PatientService {

    int add(Patient patient);

    int delete(String[] id);

    List<Patient> findAll(Patient patient);

    int update(Patient patient);

    Patient findById(Patient patient);

    int addIdCadr(Patient patient);

    Patient findByIdAll(Patient patient);
    List<Patient> selectDan(String email);
}
